<html>
<head><meta charset="utf-8"><title>CI · project-portable-simd · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/index.html">project-portable-simd</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html">CI</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="211000494"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211000494" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211000494">(Sep 23 2020 at 13:17)</a>:</h4>
<p>I've made a start on some CI. I figured we'd be best off building it up from scratch while expecting to take inspiration from <code>packed_simd</code> and <code>stdarch</code> as we go. I ended up starting with Travis rather than GitHub Actions because it turns out they've <a href="https://travis-ci.com/github/rust-lang/stdsimd/jobs/389728119">got some ARM support</a> so we can actually test Neon properly <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<a name="211030382"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211030382" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211030382">(Sep 23 2020 at 16:48)</a>:</h4>
<p>huzzah</p>



<a name="211084511"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211084511" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211084511">(Sep 24 2020 at 02:39)</a>:</h4>
<p>Looks like they also have _much_ better mustache support as well</p>



<a name="211089854"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211089854" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211089854">(Sep 24 2020 at 04:42)</a>:</h4>
<p>Long term it would be amazing if the Rust project had access to some self-hosted build agents with different CPUs</p>



<a name="211090612"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211090612" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211090612">(Sep 24 2020 at 05:02)</a>:</h4>
<p><span class="user-mention silent" data-user-id="204346">Ashley Mannix</span> <a href="#narrow/stream/257879-project-portable-simd/topic/CI/near/211000494">said</a>:</p>
<blockquote>
<p>I've made a start on some CI. I figured we'd be best off building it up from scratch while expecting to take inspiration from <code>packed_simd</code> and <code>stdarch</code> as we go. I ended up starting with Travis rather than GitHub Actions because it turns out they've <a href="https://travis-ci.com/github/rust-lang/stdsimd/jobs/389728119">got some ARM support</a> so we can actually test Neon properly <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>
</blockquote>
<p>Nice, I noticed that but never used it personally. Also you could split the ARM jobs for travis, x86 for Actions.<br>
But probably not worth the complexity for maintainers.</p>



<a name="211090622"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211090622" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211090622">(Sep 24 2020 at 05:02)</a>:</h4>
<p><span class="user-mention silent" data-user-id="204346">Ashley Mannix</span> <a href="#narrow/stream/257879-project-portable-simd/topic/CI/near/211089854">said</a>:</p>
<blockquote>
<p>Long term it would be amazing if the Rust project had access to some self-hosted build agents with different CPUs</p>
</blockquote>
<p>Try contact infra team. I believe they have access to self-hosted ARM hosts donated by ARM.</p>



<a name="211090647"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211090647" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211090647">(Sep 24 2020 at 05:03)</a>:</h4>
<p>Oh really? Thanks <span class="user-mention" data-user-id="209117">@lzutao</span>! I'll do that</p>



<a name="211090695"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211090695" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211090695">(Sep 24 2020 at 05:04)</a>:</h4>
<p>I think only aarch64 :)</p>



<a name="211090831"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211090831" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211090831">(Sep 24 2020 at 05:07)</a>:</h4>
<p>I have both arm and aarch64 devices, but no automation to go with them.</p>
<p>And supposedly you can cross-build and run arm code on aarch64 same as x86 on x86_64, but you need to get a few extra dev libs or something, it didn't work for me out of the box when i tried.</p>



<a name="211095750"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211095750" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mati865 <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211095750">(Sep 24 2020 at 07:07)</a>:</h4>
<p>In theory you need kernel with support for 32-bit programs and 32-bit libraries like glibc on that Aarch64 system. I think I have never tried it myself.</p>



<a name="211195555"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211195555" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211195555">(Sep 24 2020 at 22:08)</a>:</h4>
<p>Not sure if it is helpful or not, but I've had some luck using <code>cross</code> to test other architectures virtually. Might be helpful for mips etc</p>



<a name="211344871"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211344871" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211344871">(Sep 26 2020 at 06:13)</a>:</h4>
<p>Travis lets you use</p>
<div class="codehilite" data-code-language="YAML"><pre><span></span><code><span class="nt">arch</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">arm64</span>
<span class="nt">arch</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">ppc64le</span>
<span class="nt">arch</span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">s390x</span>
</code></pre></div>

<p>The CI for packed_simd doesn't work for those architectures if switched onto those architectures because it's built on QEMU. This is mildly silly when we could skip emulation.</p>



<a name="211345064"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211345064" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jubilee <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211345064">(Sep 26 2020 at 06:18)</a>:</h4>
<p>This is notable in particular because ppc64le is one of the arches that seems to have good SIMD support through LLVM.</p>



<a name="211393230"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211393230" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211393230">(Sep 27 2020 at 02:15)</a>:</h4>
<p>Ah great! I'll be doing some more CI work tomorrow <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span> I'll try get us to a starting point we can merge into the initial types PR</p>



<a name="211393295"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211393295" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211393295">(Sep 27 2020 at 02:16)</a>:</h4>
<p>we should possibly just merge the initial-types PR and then rebase the CI PR on top of that. Because the repo started blank, both PRs are trying to set their own initial crate details, so <em>one of them</em> is going to have to rebase.</p>



<a name="211393443"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211393443" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211393443">(Sep 27 2020 at 02:21)</a>:</h4>
<p>I’m happy to rebase if the initial types is good to go</p>



<a name="211393486"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211393486" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Caleb Zulawski <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211393486">(Sep 27 2020 at 02:22)</a>:</h4>
<p>I didn't actually add any tests to run, but if we want to get _something_ in, it's ready to go</p>



<a name="211393498"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211393498" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211393498">(Sep 27 2020 at 02:22)</a>:</h4>
<p>Let's merge it, and then add a test as part of the CI PR?</p>
<p>yes/no votes?</p>



<a name="211393501"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211393501" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Ashley Mannix <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211393501">(Sep 27 2020 at 02:23)</a>:</h4>
<p>We will at least know that it builds <span aria-label="grinning face with smiling eyes" class="emoji emoji-1f601" role="img" title="grinning face with smiling eyes">:grinning_face_with_smiling_eyes:</span></p>



<a name="211393516"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211393516" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211393516">(Sep 27 2020 at 02:23)</a>:</h4>
<p>done</p>



<a name="211393520"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257879-project-portable-simd/topic/CI/near/211393520" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/257879-project-portable-simd/topic/CI.html#211393520">(Sep 27 2020 at 02:23)</a>:</h4>
<p>we officially have some code to announce!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>